package com.school.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.school.dao.HljtClassschedulecardDao;
import com.school.entity.HljtClassschedulecard;
import com.school.service.HljtClassschedulecardService;
@Service
public class HljtClassschedulecardServiceImpl implements HljtClassschedulecardService{

	@Autowired
	private HljtClassschedulecardDao hljtClassschedulecardDao;

	@Override
	public List<HljtClassschedulecard> findClassschedulecard(Integer ClassId) {
			return hljtClassschedulecardDao.findClassschedulecard(ClassId);
			
	}

	@Override
	public Integer addClassschedulecard(HljtClassschedulecard hljtClassschedulecard) {
		// TODO Auto-generated method stub
		return hljtClassschedulecardDao.addClassschedulecard(hljtClassschedulecard);
	}

	@Override
	public Integer updateClassschedulecard(HljtClassschedulecard hljtClassschedulecard) {
		// TODO Auto-generated method stub
		return hljtClassschedulecardDao.updateClassschedulecard(hljtClassschedulecard);
	}
}
